package org.simple.framework.boot.controller;

import org.simple.framework.data.entity.Identifiable;
import org.simple.framework.data.jpa.repository.JpaModelRepository;

import java.io.Serializable;

/**
 * 项目名称：simple-framework
 * 类名称：ModelController
 * 类描述：ModelController
 * 创建时间：2018/9/6
 *
 * @author sisyphus   (E-mail:1620657419@qq.com)
 * @version v1.0
 */
public interface ModelController<E extends Identifiable<ID>, ID extends Serializable> {

    JpaModelRepository<E, ID> getRepository();

}
